package es.aa.android.cartomatic.appview.dialog;

import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentTransaction;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import es.aa.android.cartomatic.customview.mSimpleList;

public class SelectCardDialog extends DialogFragment {

    private View rootView;


    public static SelectCardDialog newInstance() {
    	SelectCardDialog dialog = new SelectCardDialog();
        return dialog;
    }


    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

    	mSimpleList cardList = new mSimpleList(getActivity());
        
        initElements();

        return rootView;
    }

    private void initElements() {
        
        
    }

    public static void makeDialog(Activity activity) {
        FragmentTransaction ft = ((FragmentActivity) activity).getSupportFragmentManager().beginTransaction();
        SelectCardDialog dialog = SelectCardDialog.newInstance();
        dialog.show(ft, "DIALOG");
    }
}
